package com.cloud.tsp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cloud.api.domain.forward.ForwardRequest;
import com.cloud.api.domain.forward.QueryVehiclePlat;
import com.cloud.api.domain.forward.ResponseData;
import com.cloud.api.domain.forward.VehiclePlatform;
import com.cloud.mybatis.domain.TableDataInfo;
import org.springframework.web.multipart.MultipartFile;

import jakarta.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author haohaibo
 * @since 2024-01-09
 */
public interface IVehiclePlatformService extends IService<VehiclePlatform> {

    TableDataInfo<VehiclePlatform> selectVehiclePlatformList(QueryVehiclePlat para);

    List<String> InsertVehiclePlatform(ForwardRequest para);

    void updateStatus(ForwardRequest para);

    void deletedById(String id);

    void downloadTemplate(HttpServletResponse response) throws IOException;

    ResponseData importVinPlatRelate(String id, MultipartFile file, HttpServletResponse response, String key) throws IOException;

    public void   downloadFile(String fileName ,HttpServletResponse response);
}